<script type="text/javascript">
var successFun=function(res){
if(res.code==200){
	alert('更新成功！');
}
}
$(document).ready(function() { 
	var updateOptions	= {dataType:'json',error:doError,success:doSuccess}
    $('#form').ajaxForm(updateOptions); 
}); 
</script>
<div id="content" class="sitesetting">
<form id="form" action="{url('Forbidden','SaveEdit')}" method="post">
<h3 class="title">屏蔽商品</h3>
<table class="admin-table">
	<tr>
	<td width="120">按关键词屏蔽</td>
	<td>
	<textarea name="keywords" cols="50" rows="5">{$this->data['forbidden']['keywords']}</textarea>
	<span etype='error_info' class="error_info"id="tongji_info">一行一个关键词，只对商品列表页面有效</span>
	</td>
	</tr>
	<tr>
	<td>按商品ID屏蔽</td>
	<td>
	<textarea name="ids" cols="50" rows="5">{$this->data['forbidden']['ids']}</textarea>
	<span etype='error_info' class="error_info"id="tongji_info">一行一个商品ID，只对商品详情页面有效</span>
	</td>
	</tr>
	<tr><td colspan="2"><input id="btnSave" type="submit" value="保存" /></td></tr>
</table>
</form>
</div>